package com.wuzhiming.istudy.service;

import com.wuzhiming.istudy.pojo.Note;

import javax.xml.soap.Node;
import java.util.List;

/**
 * @ClassName: NoteService
 * @Description:
 * @Author:zhimingw
 * @Version 1.0
 * @since 2022/3/16 19:56
 */
public interface NoteService {
    
    /**
    * @Description: 添加一个课程收藏
    * @Param: [collection]
    * @return: boolean
    * @Author: zhimingw
    * @Date: 2022/3/16
    */
    boolean addNote(Note note);
    
    /**
    * @Description: 获取某个用户的所有笔记
    * @Param: [note]
    * @return: java.util.List<com.wuzhiming.istudy.pojo.Note>
    * @Author: zhimingw
    * @Date: 2022/3/28
    */
    List<Note> getUserNote(Note note);


    /**
     * @Description: 获取某个用户的某个笔记
     * @Param: [note]
     * @return: java.util.List<com.wuzhiming.istudy.pojo.Note>
     * @Author: zhimingw
     * @Date: 2022/3/28
     */
    Note getNoteDetail(Integer id);
    
    /**
    * @Description: 修改笔记状态
    * @Param: [note]
    * @return: boolean
    * @Author: zhimingw
    * @Date: 2022/3/31
    */
    boolean update(Note note);
}
